import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/home',
      name: 'home',
      component: HomeView,
    },
    {
      path: '/about',
      name: 'about',

      component: () => import('../views/AboutView.vue'),
    },
    {
      path: '/',
      name: 'Member',
      component: () => import('../views/abc/Member.vue')
    
    
    },
    {
      path: '/Show',
      name: 'Show',
      component: () => import('../views/abc/Show.vue')
    
    
    },
    {
      path: '/Xg/:MRid',
      name: 'Xg',
      component: () => import('../views/abc/Xg.vue')
    
    
    },

    {
      path: '/AddRank',
      name: 'AddRank',
      component: () => import('../views/Rank_MAX/AddRank.vue')
    },


    {
      path: '/Rank_Show',
      name: 'Rank_Show',
      component: () => import('../views/Rank_MAX/Rank_Show.vue')
    
    
    },

    {
      path: '/Rank_Xg/:Rid',
      name: 'Rank_Xg',
      component: () => import('../views/Rank_MAX/Rank_Xg.vue')
    
    
    },

    {
      path: '/AddHi',
      name: 'AddHi',
      component: () => import('../views/Hight/AddHi.vue')
    
    
    },

    {
      path: '/ShowHi',
      name: 'ShowHi',
      component: () => import('../views/Hight/ShowHi.vue')
    
    
    },
    {
      path: '/XgH/:Hid',
      name: 'XgH',
      component: () => import('../views/Hight/XgH.vue')
    
    
    },

    {
      path: '/MeLogin',
      name: 'MeLogin',
      component: () => import('../views/Member/MeLogin.vue')
    
    
    },

    {

     
      path: '/T_AddME',
      name: 'T_AddME',
      component: () => import('../views/Member/T_AddME.vue')
    
    
    },

    {

      
      path: '/MemberShow',
      name: 'MemberShow',
      component: () => import('../views/Member/MemberShow.vue')
    
    
    },

    {

      
      path: '/XgMember/:id',
      name: 'XgMember',
      component: () => import('../views/Member/XgMember.vue')
    
    
    },

    
    {

      
      path: '/AddShop',
      name: 'AddShop',
      component: () => import('../views//T_Shops/AddShop.vue')
    
    
    },


    {

      
      path: '/ShowShop',
      name: 'ShowShop',
      component: () => import('../views//T_Shops/ShowShop.vue')
    
    
    },


    {

      
      path: '/XgShop/:id',
      name: 'XgShop',
      component: () => import('../views//T_Shops/XgShop.vue')
    
    
    },
    {

      
      path: '/AddRoom',
      name: 'AddRoom',
      component: () => import('../views/Room/AddRoom.vue')
    
    
    },

    {

      
      path: '/ShowRoom',
      name: 'ShowRoom',
      component: () => import('../views/Room/ShowRoom.vue')
    
    
    },

    
    {

      
      path: '/XgRoom/:id',
      name: 'XgRoom',
      component: () => import('../views/Room/XgRoom.vue')
    
    
    },


  ],
})

export default router
